﻿Imports DAO
Imports DTO
Public Class ThamSoBUS
    Public Function LaySoLuongNhapToiThieu() As Double
        Dim DAO As ThamSoDAO = New ThamSoDAO()
        Dim kq As Double = DAO.LaySoLuongNhapToiThieu()
        Return kq
    End Function
    Public Function LaySoLuongTonToiDa() As Double
        Dim DAO As ThamSoDAO = New ThamSoDAO()
        Dim kq As Double = DAO.LaySoLuongTonToiDa()
        Return kq
    End Function
    Public Shared Function LayToanBoThamSo() As BangThamSoDTO
        Dim Thamso As BangThamSoDTO = ThamSoDAO.LayToanBoKhachHang()
        Return Thamso
    End Function

    Public Shared Function CapNhatLaiBangThamSo(ByVal ThamSo As BangThamSoDTO) As Double
        Dim kq As Double = ThamSoDAO.CapNhatLaiBangThamSo(ThamSo)
        Return kq
    End Function
End Class
